package com.jic.data.model.vo.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@ApiModel(description = " 会员购买活跃度分布实体类")
public class MemberConsumeActiveTimeStsRequest extends BaseEntityRequest {
    private static final long serialVersionUID = 1L;
    // @NotEmpty(message = "id") 
    @ApiModelProperty(notes = "id")

    private Long id;
    // @NotEmpty(message = "渠道id") 
    @ApiModelProperty(notes = "渠道id")

    private Long channelId;
    // @NotEmpty(message = "渠道名称") 
    @ApiModelProperty(notes = "渠道名称")

    private String channelName;
    // @NotEmpty(message = "平台id") 
    @ApiModelProperty(notes = "平台id")

    private Long platformId;
    // @NotEmpty(message = "平台名称") 
    @ApiModelProperty(notes = "平台名称")

    private String platformName;
    // @NotEmpty(message = "店铺id") 
    @ApiModelProperty(notes = "店铺id")

    private Long storeId;
    // @NotEmpty(message = "店铺名称") 
    @ApiModelProperty(notes = "店铺名称")

    private String storeName;
    // @NotEmpty(message = "分段统计数据,[{"recencyPeriodName":"0-30","frequencies" : [{"frequencyNo":2,"memberNumber":1000},{"frequencyNo":3,"memberNumber":1000}]},{"recencyPeriodName":"30-60","frequencies" : [{"frequencyNo":2,"memberNumber":1000},{"frequencyNo":3,"memberNumber":1000}]}...]")
    @ApiModelProperty(notes = "分段统计数据,[{\"recencyPeriodName\":\"0-30\",\"frequencies\" : [{\"frequencyNo\":2,\"memberNumber\":1000},{\"frequencyNo\":3,\"memberNumber\":1000}]},{\"recencyPeriodName\":\"30-60\",\"frequencies\" : [{\"frequencyNo\":2,\"memberNumber\":1000},{\"frequencyNo\":3,\"memberNumber\":1000}]}...]")

    private String periodStsData;
    // @NotEmpty(message = "分段类型，1：按日；2：按月；3：季度；4：年") 
    @ApiModelProperty(notes = "分段类型，1：按日；2：按月；3：季度；4：年")

    private Integer periodType;
    // @NotEmpty(message = "统计类型,1:店铺级；2：平台级；3：渠道级；4：全渠道") 
    @ApiModelProperty(notes = "统计类型,1:店铺级；2：平台级；3：渠道级；4：全渠道")

    private Integer stsType;
    // @NotEmpty(message = "统计日期") 
    @ApiModelProperty(notes = "统计日期")

    private Date stsDate;
    // @NotEmpty(message = "更新人") 
    @ApiModelProperty(notes = "更新人")

    private Long updator;
}
